home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2000 May
/
PCWorld_2000-05_cd.bin
/
Software
/
TemaCD
/
povray
/
povwin3.exe
/
%MAINDIR%
/
Insert Menu
/
Shapes
/
polygon.txt
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Text File
|
2000-04-06
|
262 b
|
9 lines
// arbitrary X,Y FINITE (no CSG) shape
// A complex example for a polygon is the letter "P":
polygon
{
12, // number of points
<0, 0>, <0, 6>, <4, 6>, <4, 3>, <1, 3>, <1, 0>, <0, 0>, // list of <u,v> points
<1, 4>, <1, 5>, <3, 5>, <3, 4>, <1, 4>
}